<?php

require_once( $_SERVER['DOCUMENT_ROOT'].'/../libs/smarty.inc' );

require_once( $_SERVER['DOCUMENT_ROOT'].'/../libs/Class_DB.php' );

require_once( $_SERVER['DOCUMENT_ROOT'].'/../libs/Class_ERROR.php' );

require_once( $_SERVER['DOCUMENT_ROOT'].'/../libs/login.inc.php' );



if( $_SERVER['REQUEST_METHOD'] == 'POST' ){

	

	$_SESSION = array();

	session_destroy();



	header("Location: ./index.php");

	exit;

}

?>